package com.management.department.teacherinfosystem.Repository;

import com.management.department.teacherinfosystem.Entity.Activity;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

public interface ActivityRepository extends JpaRepository<Activity, Long>, JpaSpecificationExecutor<Activity> {
    Page<Activity> findByUser_Id(Long userId, Pageable pageable);
} 